//
//  JShopCarTableCell.h
//  HeadIndustry
//
//  Created by jun on 2017/9/4.
//  Copyright © 2017年 jun. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^JCellDelBlock)();
typedef void(^JCellSelectedBlock)(BOOL select);
typedef void(^JNumberChangedBlock)(NSInteger number);
typedef void(^JImgTapGestureBlock)(JProductDetailModel *product);


@interface JShopCarTableCell : UITableViewCell

//选中按钮
@property (nonatomic,strong) UIButton *selectBtn;

@property (strong,nonatomic)JProductDetailModel *product;

@property (copy,nonatomic)JImgTapGestureBlock imgBlock;
//商品数量
@property (assign,nonatomic)NSInteger dwqNumber;
@property (assign,nonatomic)BOOL dwqSelected;

// 编辑
@property (strong,nonatomic)UIView *editView;
@property (assign,nonatomic)BOOL isEdit;

- (void)delCellBtnWithBlock:(JCellDelBlock)block;
- (void)reloadDataWithModel:(JShopCarDetailModel*)model;
- (void)numberAddWithBlock:(JNumberChangedBlock)block;
- (void)numberCutWithBlock:(JNumberChangedBlock)block;
- (void)cellSelectedWithBlock:(JCellSelectedBlock)block;


@end
